home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / m / pmax.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  3.4 KB  |  109 lines

  1. /* Synched up with: FSF 19.29. */
  2.  
  3. /* Machine description file for DEC MIPS machines.  */
  4.  
  5. #include "mips.h"
  6.  
  7. /* The following line tells the configuration script what sort of 
  8.    operating system this machine is likely to run.
  9.    USUAL-OPSYS="note"  
  10.  
  11. NOTE-START
  12. Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise.
  13. NOTE-END  */
  14.  
  15. #undef LIB_STANDARD
  16. #undef START_FILES
  17. #undef COFF
  18. #undef TERMINFO
  19. #define MAIL_USE_FLOCK
  20. #define HAVE_UNION_WAIT
  21.  
  22. /* XEmacs change from dkindred+@CMU.EDU */
  23. #ifdef MACH
  24. #define START_FILES pre-crt0.o /usr/lib/crt0.o
  25. #else
  26. /* This line starts being needed with ultrix 4.0.  */
  27. /* You must delete it for version 3.1.  */
  28. #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
  29. #endif
  30.  
  31. /* Supposedly the following will overcome a kernel bug.  */
  32. #undef LD_SWITCH_MACHINE
  33. #undef DATA_START
  34. #define DATA_START 0x10000000
  35. #define DATA_SEG_BITS 0x10000000
  36.  
  37. #if 0
  38. /* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3.  And
  39.    the relocating allocator is a real win.  -JimB  */
  40.  
  41. /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
  42.    on defining malloc itself.  This should avoid conflicting with it.  */
  43. #define SYSTEM_MALLOC
  44. #endif
  45.  
  46. /* Override what m-mips.h says about this.  */
  47. #undef LINKER
  48.  
  49. /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
  50.    but it doesn't work right;
  51.    and it causes hanging in read_process_output.  */
  52. #define BROKEN_O_NONBLOCK
  53.  
  54. /* XEmacs change */
  55. #if defined (OSF1) || defined (MACH)
  56. #undef C_ALLOCA
  57. #define HAVE_ALLOCA
  58. #endif
  59.  
  60. #ifndef OSF1
  61. /* Ultrix saves the time zone in core; must clear it.  */
  62. #define LOCALTIME_CACHE
  63. #endif
  64.  
  65. /* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet.  */
  66. #ifdef HAVE_LIBDNET
  67. #define LIBS_MACHINE -ldnet
  68. #endif
  69.  
  70. /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a.  */
  71. #undef KERNEL_FILE
  72. #define KERNEL_FILE "/vmunix"
  73.  
  74. /* Jim Wilson writes:
  75.    [...] The X11 include files that Dec distributes with Ultrix
  76.    are bogus.
  77.  
  78.    When __STDC__ is defined (which is true with gcc), the X11 include files
  79.    try to define prototypes.  The prototypes however use types which haven't
  80.    been defined yet, and thus we get syntax/parse errors.
  81.  
  82.    You can not fix this by changing the include files, because the prototypes
  83.    create circular dependencies, in particular Xutil.h depends on types defined
  84.    in Xlib.h, and Xlib.h depends on types defined in Xutil.h.  So, no matter
  85.    which order you try to include them in, it will still fail.
  86.  
  87.    Compiling with -DNeedFunctionPrototypes=0 will solve the problem by
  88.    directly inhibiting the bad prototypes.  This could perhaps just be put in
  89.    an a Ultrix configuration file.
  90.  
  91.    Using the MIT X11 distribution instead of the one provided by Dec will
  92.    also solve the problem, but I doubt you can convince everyone to do this. */
  93.  
  94. /* Addendum: the MIT X11 distribution neglects to define certain symbols
  95.    when NeedFunctionPrototypes is 0, but still tries to use them when
  96.    NeedVarargsProrotypes is 1 (which is its default value).  So if we're
  97.    going to disable non-variadic prototypes, we also need to disable
  98.    variadic prototypes.  --kwzh@gnu.ai.mit.edu */
  99. /* XEmacs change by osyjm@schizo.coe.montana.edu (Jaye Mathisen) */
  100. #ifdef ultrix
  101. #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
  102. #endif
  103.  
  104. /* XEmacs: the following does nothing at all any more due to cleanup
  105.    of the create_process() code. */
  106.  
  107. /* Enable a fix in process.c.  */
  108. #define SET_CHILD_PTY_PGRP
  109.